package com.ddxz.middleground.meta.util;

import com.ddxz.tool.core.convert.StringUtil;
import com.ddxz.tool.web.common.ConstData;

import java.util.HashSet;
import java.util.Set;

/**
 * interface description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/8/23
 */

public interface MetaConstData extends ConstData {
    default boolean isAllData(String roleIds) {
        Set<String> roleSet = new HashSet<>(StringUtil.getList(roleIds));

        return roleSet.contains("") || roleSet.contains("");
    }
}
